<?php

class Template
{

	static function cabecera()
	{
?>
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?= ls('lang') ?>" lang="<?= ls('lang') ?>" dir="ltr">
  <head>
  	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

  	<meta name="Abstract" content="<?=ls('Abstract')?>" />
  	<meta name="Author" content="<?= Globals::autor ?>" />
  	<meta name="Description" content="<?=ls('Description')?>" />
  	<meta name="Designer" content="<?= Globals::disenador ?>" />
  	<meta name="Keywords" content="ignacio,calvo,martínez,composer,compositor,música,music" />

    <title><?= Globals::sitio ?> - <?= page_title() ?></title>

    <link rel="stylesheet" href="../icm.css" type="text/css" />
  </head>
  <body topmargin="10" leftmargin="10">
    <a name="top"></a>
    
    
    <div id="container">
    <div id="header">
	    <a href="index.html"><img src="../imagenes/logo.gif" border="0" alt="hogar" /></a>
	</div>
	<div id="menu" class="overblack"><?= Bars::menu() ?></div>
	<div class="overblack"><?= Bars::language() ?></div>
    <div id="main">
	    <h1><?= page_title() ?></h1>
<?php
	}

	static function pie()
	{
?>
	</div>
	<div id="footer" class="overblack">
		<a href="mailto:<?= Globals::autor_email ?>"><?= Globals::autor_email ?></a> |
    	URL: http://<?= $_SERVER["HTTP_HOST"].$_SERVER["PHP_SELF"] ?> |
    	<?= ls('Designed by') ?> <?= Globals::disenador ?> |
    	<?= ls('Last modified') ?>: <?= strftime(ls('date_format'), getlastmod() ) ?><br />
    	Copyright © 1996-<?= date("Y") ?> <?= Globals::autor ?>
    </div>
  </body>
</html>
<?php
	}
}
?>